
var someStr=[String]()
someStr.append("test1")
someStr.append("test2")
someStr.append("test3")
someStr+=["test4"]

for item in someStr{
    print(item)
}
print()

var intArray=[Int](repeating:10,count:5)

for item in intArray{
    print(item)
}
print()

var someInt:[Int] = [10,20,30]

for item in someInt{
    print(item)
}
print()

for index in 0..<someInt.count {
    print(someInt[index])
}
print()

for item in someInt[0..<2] {
    print(item)
}
print()

var intArr1:[Int] = [1,2,3]
var intArr2:[Int] = [4,5,6]
var intArr3 = intArr2 + intArr1
for item in intArr3 {
    print(item)
}
